<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 解构数值
        // let n = new Number(123);

        // let {toString} = n;

        // console.log(toString ===Number.prototype.toString);

        // Number.prototype.toString

        //解构布尔值
        // let bool = true;

        // let {toString} = bool;

        // console.log(toString === Boolean.prototype.toString);

    </script>
</body>
</html>